{"version":3,"sources":["ui.progressbar.js"],"names":["BX","namespace","UI","ProgressBar","options","this","type","isPlainObject","bar","container","status","statusPercent","statusCounter","textBefore","textAfter","maxValue","value","statusType","Status","PERCENT","color","Color","PRIMARY","size","Size","MEDIUM","setValue","setMaxValue","setStatusType","setColor","setSize","setFill","fill","setColumn","column","setTextBefore","setTextAfter","COUNTER","NONE","DANGER","SUCCESS","WARNING","LARGE","prototype","getValue","isNumber","getMaxValue","isNotEmptyString","removeClass","getContainer","addClass","getTextBefore","create","props","className","html","text","adjust","getTextAfter","getStatus","getStatusType","getStatusCounter","getStatusPercent","Math","round","setStatus","getBar","style","width","update","children"],"mappings":"CAAA,WAEC,aAEAA,GAAGC,UAAU,qBAEbD,GAAGE,GAAGC,YAAc,SAASC,GAE5BC,KAAKD,QAAUJ,GAAGM,KAAKC,cAAcH,GAAWA,KAEhDC,KAAKG,IAAM,KACXH,KAAKI,UAAY,KACjBJ,KAAKK,OAAS,KACdL,KAAKM,cAAgB,KACrBN,KAAKO,cAAgB,QACrBP,KAAKQ,WAAa,KAClBR,KAAKS,UAAY,KACjBT,KAAKU,SAAW,IAChBV,KAAKW,MAAQ,EACbX,KAAKY,WAAajB,GAAGE,GAAGC,YAAYe,OAAOC,QAC3Cd,KAAKe,MAAQpB,GAAGE,GAAGC,YAAYkB,MAAMC,QACrCjB,KAAKkB,KAAOvB,GAAGE,GAAGC,YAAYqB,KAAKC,OAEnCpB,KAAKqB,SAAStB,EAAQY,OACtBX,KAAKsB,YAAYvB,EAAQW,UACzBV,KAAKuB,cAAcxB,EAAQa,YAC3BZ,KAAKwB,SAASzB,EAAQgB,OACtBf,KAAKyB,QAAQ1B,EAAQmB,MACrBlB,KAAK0B,QAAQ3B,EAAQ4B,MACrB3B,KAAK4B,UAAU7B,EAAQ8B,QACvB7B,KAAK8B,cAAc/B,EAAQS,YAC3BR,KAAK+B,aAAahC,EAAQU,YAO3Bd,GAAGE,GAAGC,YAAYe,QACjBmB,QAAS,UACTlB,QA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